#region Summary

// 
// Owner : JackieHan 
// 
// Solution : Skomart.Spider 
// 
// Project : Jackie.Utility
// 
// File : XmlAttributeNotFoundException.cs
// 
// CopyRight : Copyright © 2010-2011 Skomart Corporation, All Rights Reserved 
// 
// Summary : Xml节点属性未找到的错误
// 
// History : 
//			2010-10-12 10:07:03	    Create 
// 

#endregion

#region Using

using System;
using System.Collections.Generic;

#endregion

namespace Jackie.Utility.CustomException
{
    /// <summary> 
    /// Xml节点属性未找到的错误
    /// </summary>
    public class XmlAttributeNotFoundException:ApplicationException
    {
        public XmlAttributeNotFoundException(string attributeName)
            :base(string.Format("the attribute Named {0} not found!",attributeName))
        {
            this.AttributeName = attributeName;
        }

        public XmlAttributeNotFoundException(string attributeName, string message)
            : base(message)
        {
            this.AttributeName = attributeName;
        }

        public string AttributeName { get; set; }
    }
}